<h1 align="center">Crear Horarios</h1>
<div  class="area">
    <form action="" method="post" accept-charset="utf-8">
        <div class="split">
            
           
            <div class="split" style="width:30%;">
            <label>Id Asignatura</label></div>
            <div class="split" style="width:70%;">
            <select name="idasignatura" size="1">
                    <?php foreach ($asignatura as $asig): ?>
                    <option value="<?php echo $asig[0]['idasignatura'];?>"><?php echo $asig[0]['nombreasignatura']; ?></option>
                    <?php endforeach; ?>
            </select>
            </div></br></br>
            
            <div class="split" style="width:30%;">
            <label>Id Ciclo</label></div>
            <div class="split" style="width:70%;">
                <select name="idciclo" size="1">
                    <?php foreach ($ciclo as $cic): ?>
                    <option value="<?php echo $cic[0]['idciclo'];?>"><?php echo $cic[0]['idciclo'];?></option>
                    <?php endforeach; ?>
                </select>
            </div>
            </br></br>
            
            <div class="split" style="width:30%;">
            <label>A&ntilde;o</label></div>
            <div class="split" style="width:70%;">
                <select name="anio" size="1">
                    <?php foreach ($anio as $ani): ?>
                    <option value="<?php echo $ani[0]['anio'];?>"><?php echo $ani[0]['anio'];?></option>
                    <?php endforeach; ?>
                </select>
            </div>
            </br></br>
	
            <div class="split" style="width:30%;">
            <label>Tipo Grupo</label></div>
            <div class="split" style="width:70%;">
                <select name="tipogrupo" size="1">
                <option value ="">Seleccione tipo grupo..</option>
                    <option value="GT">GT</option>
                    <option value="GD">GD</option>
                    <option value="GL">GL</option>
                </select>
            </div>
            </br></br>
           
            <div class="split" style="width:30%; padding-left:15px;">
			<label>Numero Grupo</label>
			</div>
			<div class="split" style="width:70%;">
			<input type="text" name="numerogrupo" required onkeypress="return justNumbers(event)"maxlength="2" size=4 align="left" >
			</div></br></br>
            						           
            <div class="split" style="width:30%; padding-left:15px;">
			<label>Horas Grupo</label>
			</div>
			<div class="split" style="width:70%;">
			<input type="text" name="horasgrupo" required onkeypress="return justNumbers(event)" maxlength="2" size=4 align="left" >
			</div></br></br>
						
			<div style="display:table;">
                <div style="display:table-row;">
				    <input class="boton" type="submit" name="agregar" value="Agregar Nuevo">
				</div>
			</div>
        
        </div>
	</form>
</div>
</br>   

